package com.dy.system.domain;

import com.dy.basic.domain.BaseDomain;
import com.dy.system.vo.OwnMenusVo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author dayong
 * @since 2023-03-09
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Role extends BaseDomain{


    private String name;
    private String sn;

    //分配菜单
    private List<Long> menus;


    private List<OwnMenusVo> ownMenus;

    //分配权限
    private List<Long> permissions;
}
